package com.itheima.aimobile.domain;

import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

import java.util.List;

@Data
public class PackageInfoQuery {
    @ToolParam(required = false,description = "套餐名称")
    private String packageName;
    @ToolParam(required = false,description = "套餐价格")
    private Double monthlyRent;

    @ToolParam(required = false,description = "排序字段")
    private List<Sort> sorts;

    @Data
    public static class Sort{
        @ToolParam(required = false,description = "排序字段monthly_rent，call_duration")
        private String filed;
        @ToolParam(required = false,description = "是否升序，true-升序，false-降序")
        private Boolean isAsc;
    }
}
